package com.cy.jxc.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.cy.jxc.dao.ResposityDao;
import com.cy.jxc.entity.Resposity;
import com.cy.jxc.service.ResposityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ResposityServiceImpl  implements ResposityService {
    @Autowired
    ResposityDao resposityDao;
    @Override
    public List<Resposity> findRespAll() {
        QueryWrapper<Resposity> queryWrapper=new QueryWrapper<>();
        List<Resposity> rows = resposityDao.selectList(queryWrapper);
        return rows;
    }
}
